package com.yueyang.sojourn.server.service.share;

import com.yueyang.sojourn.server.model.po.ShareDistributor;

import java.util.List;

import com.yueyang.sojourn.server.model.vo.ShareDistributorVo;
import org.apache.ibatis.annotations.Param;

public interface ShareDistributorMapper {

    int deleteByPrimaryKey(Long userId);

    int insert(ShareDistributor record);

    int insertSelective(ShareDistributor record);

    ShareDistributor selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(ShareDistributor record);

    int updateByPrimaryKey(ShareDistributor record);

    List<ShareDistributorVo> findList(@Param("status") Integer status, @Param("keyword") String keyword);
}